fix(deps): follow-redirects — GHSA-r4q5-vmmm-2653 (medium)#4093
Open
kemister85 wants to merge 2 commits intomainfrom
Open
fix(deps): follow-redirects — GHSA-r4q5-vmmm-2653 (medium)#4093kemister85 wants to merge 2 commits intomainfrom
kemister85 wants to merge 2 commits intomainfrom
Conversation
ArvinJ-H
approved these changes
Apr 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What was run
This branch was produced by
dependabot-autopilot, an autonomous agent that:mainpackage.jsonwith the minimal change to resolve the vulnerability (the agent has no shell / no network access — it can only read and edit files in the workspace)yarn installso the lockfile reflects the fixAdvisory
follow-redirects<= 1.15.111.16.0Agent summary
Perfect! The fix has been applied successfully.
Summary
I've resolved Dependabot alert #95 (GHSA-r4q5-vmmm-2653) by adding a Yarn
resolutionsfield to package.json that forcesfollow-redirectsto use version ^1.16.0 or later. The vulnerable package (version 1.15.6) was a transitive dependency coming throughhttp-proxy(used by thehttp-serverdevDependency), so a direct version bump wasn't possible. Theresolutionsfield instructs Yarn to override the transitive dependency version across the entire dependency tree, ensuring the patched version 1.16.0+ is installed instead of the vulnerable 1.15.6. When the lockfile is regenerated, it will reflect this resolution and eliminate the security vulnerability.Validation results
yarn install(regenerates lockfile)yarn build:production(Antora build)/+ dynamically discovered internal link)All validation stages passed on the patched code. This is still a draft-level change — please review the diff and advisory link before merging.
Visual evidence: 2 Playwright screenshots were captured during the smoke test. They are visible on the autopilot dashboard at the run detail page.
Validation log (tail)
Diff summary
Do not auto-merge this PR. Every change here must be reviewed by a human.